package com.wench.design.pattern.prototype.demo;

/**
 * @author wench
 */
public class DemoClient {

    public static void main(String[] args) throws CloneNotSupportedException {
        RealiseType realiseType = new RealiseType();
        RealiseType clone = realiseType.clone();
        System.out.println("原型对象和克隆出来的对象是否是同一个对象？" + (realiseType == clone));
    }
}
